package com.loongtech.bi.entity.ios;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "bi_ios_product")
public class EntityProductManager implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id
	private int id;
	@Column(columnDefinition = "varchar(32) NOT NULL default ''")
	private String projectid;
	@Column(columnDefinition = "varchar(32) NOT NULL default ''")
	private String productid;
	@Column(columnDefinition = "varchar(32) NOT NULL default ''")
	private String name;
	@Column(columnDefinition = "int(11) NOT NULL default 0")
	private String pay;
	@Column(columnDefinition = "varchar(64) NOT NULL default ''")
	private String detail;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getProjectid() {
		return projectid;
	}

	public void setProjectid(String projectid) {
		this.projectid = projectid;
	}

	public String getProductid() {
		return productid;
	}

	public void setProductid(String productid) {
		this.productid = productid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPay() {
		return pay;
	}

	public void setPay(String pay) {
		this.pay = pay;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public static class K {
		public static final String id = "id";
		public static final String projectid = "projectid";
		public static final String productid = "productid";
		public static final String name = "name";
		public static final String pay = "pay";
		public static final String detail = "detail";

		public static java.util.List<String> toList() {
			java.util.List<String> list = new java.util.ArrayList<>();
			list.add(id);
			list.add(projectid);
			list.add(productid);
			list.add(name);
			list.add(pay);
			list.add(detail);
			return list;
		}
	}
}
